package com.ruoyi.Packets.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 红包表 xyb_packets
 * 
 * @author ruoyi
 * @date 2019-07-30
 */
public class Packets extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Integer id;
	/** 红包名称 */
	private String hbName;
	/** 红包数量 */
	private Integer hbNumber;
	/** 红包图片 */
	private String hbTp;
	/** 金额 */
	private Double jine;
	/** 满减，例：满100减10 */
	private Double manjian;
	/** 手机端是否显示 */
	private String selectedControl;
	/** 3001红包 3002优惠卷 */
	private String type;
	/** 是否有效 1有效 0无效 */
	private Integer valid;
	/** 创建时间 */
	private String creactDate;
	/** 修改时间 */
	private String modifyDate;
	/** 修改人 */
	private Integer modifyBy;
	/** 过期时间 */
	private String gqDate;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setHbName(String hbName) 
	{
		this.hbName = hbName;
	}

	public String getHbName() 
	{
		return hbName;
	}
	public void setHbNumber(Integer hbNumber) 
	{
		this.hbNumber = hbNumber;
	}

	public Integer getHbNumber() 
	{
		return hbNumber;
	}
	public void setHbTp(String hbTp) 
	{
		this.hbTp = hbTp;
	}

	public String getHbTp() 
	{
		return hbTp;
	}
	public void setJine(Double jine) 
	{
		this.jine = jine;
	}

	public Double getJine() 
	{
		return jine;
	}
	public void setManjian(Double manjian) 
	{
		this.manjian = manjian;
	}

	public Double getManjian() 
	{
		return manjian;
	}
	public void setSelectedControl(String selectedControl) 
	{
		this.selectedControl = selectedControl;
	}

	public String getSelectedControl() 
	{
		return selectedControl;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setValid(Integer valid) 
	{
		this.valid = valid;
	}

	public Integer getValid() 
	{
		return valid;
	}
	public void setCreactDate(String creactDate) 
	{
		this.creactDate = creactDate;
	}

	public String getCreactDate() 
	{
		return creactDate;
	}
	public void setModifyDate(String modifyDate) 
	{
		this.modifyDate = modifyDate;
	}

	public String getModifyDate() 
	{
		return modifyDate;
	}
	public void setModifyBy(Integer modifyBy) 
	{
		this.modifyBy = modifyBy;
	}

	public Integer getModifyBy() 
	{
		return modifyBy;
	}
	public void setGqDate(String gqDate) 
	{
		this.gqDate = gqDate;
	}

	public String getGqDate() 
	{
		return gqDate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hbName", getHbName())
            .append("hbNumber", getHbNumber())
            .append("hbTp", getHbTp())
            .append("jine", getJine())
            .append("manjian", getManjian())
            .append("selectedControl", getSelectedControl())
            .append("type", getType())
            .append("valid", getValid())
            .append("creactDate", getCreactDate())
            .append("modifyDate", getModifyDate())
            .append("createBy", getCreateBy())
            .append("modifyBy", getModifyBy())
            .append("gqDate", getGqDate())
            .toString();
    }
}
